// Author: wsfuyibing <682805@qq.com>
// Date: 2025-07-02

package coupon

import (
	"gitee.com/go-wares/framework-iris/framework"
	"github.com/kataras/iris/v12"
	"server/app/http/logics/user/coupon/visible/goods"
	"server/app/http/logics/user/coupon/visible/session"
)

// Controller
// 优惠券操作.
//
// @RoutePrefix("/user/coupon")
// @Middleware("authorizer")
type Controller struct{}

// GetVisibleGoods
// 商店可用.
func (o *Controller) GetVisibleGoods(i iris.Context) {
	framework.Do(i, goods.New)
}

// GetVisibleSession
// 购票可用.
func (o *Controller) GetVisibleSession(i iris.Context) {
	framework.Do(i, session.New)
}
